#ifndef VLVIEW_H
#define VLVIEW_H

#include "iostream"
#include "cv.h"
#include "highgui.h"

#include "vlmodel.h"

class VLView
{
public:
    VLView();
    void close();
    VLModel vlModel;

    void showSettings();
    void showMainImage(IplImage* img, bool bRed, bool bUsingROI, QList<CvPoint> ROI, IplImage* mask);
    void showDebugImage(const char* name, IplImage* img);

    VideoSource choosingVideoSource();

private:

    IplImage* vlNot(IplImage* img);
    void drawROI(IplImage* img, QList<CvPoint> ROI, CvScalar color);


};

#endif // VLVIEW_H
